<ui:composition
 xmlns="http://www.w3.org/1999/xhtml"
 xmlns:s="http://jboss.com/products/seam/taglib"
 xmlns:ui="http://java.sun.com/jsf/facelets"
 xmlns:f="http://java.sun.com/jsf/core"
 xmlns:h="http://java.sun.com/jsf/html"
 xmlns:rich="http://richfaces.org/rich"
 xmlns:a4j="http://richfaces.org/a4j"
 template="/template.xhtml">
  <ui:define
   name="center">
   <b><h:outputText value="#{strings['button.backoffice']} - #{strings['Order.commande']}" style="padding-left:20px;font-size:1.5em"/></b>

  <rich:panel id="panierSummary" styleClass="pan" style="background-color:#C0D9D9">
       <rich:dataTable
  value="#{boutiqueBacking.listOrder}"   var="order">
  
  <f:facet name="header">Commandes</f:facet>
  <h:column>
    <f:facet name="header"><b><h:outputText value="Login" /></b></f:facet>
    <h:outputText value="#{order.client.login}" />
    
  </h:column>
    <h:column>
    <f:facet name="header"><b><h:outputText value="Date" /></b></f:facet>
    <h:outputText value="#{order.date}" />
    </h:column>
    <h:column>
    <f:facet name="header"><b><h:outputText value="Suppr" /></b></f:facet>
     <h:commandLink   action="#{boutiqueBacking.supprimerCommande(order.id)}"  immediate="true">
     <h:graphicImage name="16/remove-icon.png" library="icons" style="border:0" />
     </h:commandLink>
    </h:column>
 
 </rich:dataTable>
 </rich:panel>
  </ui:define>
</ui:composition>

